/**
 * $Id: Track.java 21 2006-09-16 20:48:07Z willi.w $
 */
package at.wwu.tunes2db.types;

import java.util.Date;

/**
 * @author willi.w
 * Track information
 */
public class Track extends Element {
    public Track() {
        super();
    }

    private int itunes_id = 0;

    private Artist artist = null;

    private Album album = null;

    private Genre genre = null;
    
    private Kind kind_id = null;

    private int total_time = 0;
    
    private int disc_count = 0;
    
    private int disc_number = 0;
    
    private int track_count = 0;
    
    private int track_number = 0;
    
    private int year = 0;
    
    private Date date_modified = null;
    
    private Date date_added = null;
    
    private int bit_rate = 0;
    
    private int sample_rate = 0;
    
    private int play_count = 0;
    
    private int play_date = 0;
    
    private Date play_date_utc = null;
    
    private int normalization = 0;
    
    private String persistent_id = null;
    
    private Type type_id = null;
    
    private String location = null;
    
    private int file_folder_count = 0;
    
    private int library_folder_count = 0;
    
    private int size;

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal_time() {
        return total_time;
    }

    public void setTotal_time(int total_time) {
        this.total_time = total_time;
    }

    @Override
    public String toString() {
        return "Track " + id + ": " + name + " {" + artist + ", " + album + ", " + genre + ", " + total_time + "}";
    }

    public Album getAlbum() {
        return album;
    }

    public Artist getArtist() {
        return artist;
    }

    public Genre getGenre() {
        return genre;
    }

    public int getItunes_id() {
        return itunes_id;
    }

    public void setAlbum(Album album) {
        this.album = album;
    }

    public void setArtist(Artist artist) {
        this.artist = artist;
    }

    public void setGenre(Genre genre) {
        this.genre = genre;
    }

    public void setItunes_id(int track_id) {
        itunes_id = track_id;
    }

    public Kind getKind_id() {
        return kind_id;
    }

    public void setKind_id(Kind kind) {
        this.kind_id = kind;
    }

    public int getBit_rate() {
        return bit_rate;
    }

    public Date getDate_added() {
        return date_added;
    }

    public Date getDate_modified() {
        return date_modified;
    }

    public int getDisc_count() {
        return disc_count;
    }

    public int getDisc_number() {
        return disc_number;
    }

    public int getFile_folder_count() {
        return file_folder_count;
    }

    public int getLibrary_folder_count() {
        return library_folder_count;
    }

    public String getLocation() {
        return location;
    }

    public int getNormalization() {
        return normalization;
    }

    public String getPersistent_id() {
        return persistent_id;
    }

    public int getPlay_count() {
        return play_count;
    }

    public int getPlay_date() {
        return play_date;
    }

    public Date getPlay_date_utc() {
        return play_date_utc;
    }

    public int getSample_rate() {
        return sample_rate;
    }

    public int getTrack_count() {
        return track_count;
    }

    public int getTrack_number() {
        return track_number;
    }

    public Type getType_id() {
        return type_id;
    }

    public int getYear() {
        return year;
    }

    public void setBit_rate(int bit_rate) {
        this.bit_rate = bit_rate;
    }

    public void setDate_added(Date date_added) {
        this.date_added = date_added;
    }

    public void setDate_modified(Date date_modified) {
        this.date_modified = date_modified;
    }

    public void setDisc_count(int disc_count) {
        this.disc_count = disc_count;
    }

    public void setDisc_number(int disc_number) {
        this.disc_number = disc_number;
    }

    public void setFile_folder_count(int file_folder_count) {
        this.file_folder_count = file_folder_count;
    }

    public void setLibrary_folder_count(int library_folder_count) {
        this.library_folder_count = library_folder_count;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public void setNormalization(int normalization) {
        this.normalization = normalization;
    }

    public void setPersistent_id(String persistent_id) {
        this.persistent_id = persistent_id;
    }

    public void setPlay_count(int play_count) {
        this.play_count = play_count;
    }

    public void setPlay_date(int play_date) {
        this.play_date = play_date;
    }

    public void setPlay_date_utc(Date play_date_utc) {
        this.play_date_utc = play_date_utc;
    }

    public void setSample_rate(int sample_rate) {
        this.sample_rate = sample_rate;
    }

    public void setTrack_count(int track_count) {
        this.track_count = track_count;
    }

    public void setTrack_number(int track_number) {
        this.track_number = track_number;
    }

    public void setType_id(Type type_id) {
        this.type_id = type_id;
    }

    public void setYear(int year) {
        this.year = year;
    }

}
